package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.BaseMeasurementAddDto;
import com.kaili.basic.pojo.dto.BaseMeasurementQueryDto;
import com.kaili.basic.pojo.entity.BaseMeasurement;
import com.kaili.basic.pojo.entity.BaseMeasurementExport;

import java.util.List;

/**
 * Created by renzhikun on 18-6-28.
 */
public interface BaseMeasurementService {
    void addMeasurement(BaseMeasurementAddDto measurementAddDto);

    void deleteMeasurement(Long measurementId);

    void updateMeasurement(BaseMeasurementAddDto measurementAddDto);

    Page<BaseMeasurement> queryMeasurement(Page<BaseMeasurement> page, BaseMeasurementQueryDto measurement);

    List<BaseMeasurementExport> queryMeasurementExport(BaseMeasurementQueryDto queryDto);

    String getMeasurementCode();
}
